Skip to content

cmd/bd: teach bd prime to use --claim#2541

Merged
steveyegge merged 1 commit intogastownhall:mainfrom
Algorune:codex/bd-prime-atomic-claim
Mar 12, 2026
Merged

cmd/bd: teach bd prime to use --claim#2541
steveyegge merged 1 commit intogastownhall:mainfrom
Algorune:codex/bd-prime-atomic-claim

Conversation

@garitar
Copy link
Copy Markdown
Contributor

@garitar garitar commented Mar 12, 2026

Summary

  • update bd prime to teach bd update <id> --claim in the command reference and starting-work example
  • add a regression test so stale --status=in_progress guidance does not come back

Why

bd update --help, README.md, and other command surfaces already teach atomic claim syntax, but cmd/bd/prime.go still told users to use --status=in_progress.

Related: #2007

Validation

  • go test -count=1 ./cmd/bd passed 3 consecutive runs on clean origin/main (a5827cb2)
  • go test -count=1 ./cmd/bd passed 3 consecutive runs on codex/bd-prime-atomic-claim
  • go test -count=1 ./cmd/bd/doctor ./internal/utils matches on both sides: cmd/bd/doctor passes and internal/utils fails in TestResolvePartialID_Wisp
  • go test ./cmd/bd -run 'TestOnboardCommand|TestOutputContextFunction|TestPrimeClaimGuidanceUsesAtomicClaim'
  • golangci-lint run ./cmd/bd/...

Repo-level test baseline

make test is currently red on latest origin/main, and it is also red on this branch. The reruns above are included to show that this patch does not worsen the changed package and that the unchanged noisy packages line up with upstream baseline behavior.

@garitar
Copy link
Copy Markdown
Contributor Author

garitar commented Mar 12, 2026

Closing this draft for now because I opened it before proving the repo-level test baseline on latest upstream. I’ll verify full-suite behavior on current origin/main first and only reopen if the validation story is actually clean.

@garitar garitar closed this Mar 12, 2026
@garitar garitar reopened this Mar 12, 2026
@garitar garitar marked this pull request as ready for review March 12, 2026 18:41
@steveyegge steveyegge merged commit 7cf21eb into gastownhall:main Mar 12, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants